﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        Hello world!
    </div>
    <div>
    <%# this.MyFunc() %>
    
<asp:Repeater id="idrepeater" runat="server" DataMember="table-inside-dataset" >
    <HeaderTemplate>
        <table cellpadding="5" cellspacing="2" >
        <tr bgcolor=Gray>
        <td><b>CustomerName</b></td>
        <td><b>Country</b></td>
        </tr>
    </HeaderTemplate>
    <ItemTemplate>
        <tr>
        <td><%# DataBinder.Eval(Container.DataItem,"CustomerName") %></td>
        <td>
        <a href="http://www.google.com?q=<%# DataBinder.Eval(Container.DataItem,"Country") %>">
        <%# DataBinder.Eval(Container.DataItem,"Country") %>
        </td>
        </a>
        </tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
        <tr bgcolor="#ccccff">
        <td><%# DataBinder.Eval(Container.DataItem,"CustomerName") %></td>
        <td><%# DataBinder.Eval(Container.DataItem,"Country") %></td>
        </tr>
    </AlternatingItemTemplate>
    <FooterTemplate>
        </table>
    </FooterTemplate>
</asp:Repeater>
    </div>
    <asp:Label ID="m_lblName" runat="server" Text="Label"></asp:Label>

    <asp:TextBox ID="m_txtbxMyBox" runat="server"></asp:TextBox>
    <p>
        <asp:HyperLink ID="m_hlMyLink" runat="server">HyperLink</asp:HyperLink>
    </p>
    </form>
    
</body>
</html>
